<template>
  <div class="listSwipe" :style="{ height: $store.state.screenH + 'px' }">
    <mt-cell-swipe
      title="标题文字"
      to="//github.com"
      is-link
      :right="[
        {
          content: 'Delete',
          style: { background: 'red', color: '#fff' },
          handler: () => {
            this.delete();
          },
        },
      ]"
    >
      <img slot="icon" src="../assets/logo.png" width="24" height="24" />
    </mt-cell-swipe>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {
    delete() {
      console.log("delete");
    },
  },
};
</script>
<style lang="less" scoped>
div.listSwipe {
}
</style>